package cc.rengu.redp.system.domain;

import cc.rengu.redp.common.converter.CustomConverter;
import cc.rengu.redp.common.converter.ExcelCustomConvert;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * @author qiujunning
 */
@Data
@ExcelIgnoreUnannotated
@TableName("T_C_HOLIDAY_INFO")
public class Holidays implements Serializable {

    public final static String WORKDAY = "N";
    public final static String HOLIDAY = "Y";

    @ExcelProperty(value = "批次日期")
    @TableId(value = "batch_date")
    private String batchDate;

    @ExcelProperty(value = "节假日标识")
    @TableId(value = "holiday_flag")
    private String holidayFlag;

    @ExcelProperty(value = "上一工作日")
    @TableId(value = "last_work_day")
    private String lastWorkDay;

    @ExcelProperty(value = "下一工作日")
    @TableId(value = "next_work_day")
    private String nextWorkDay;

    @ExcelProperty(value = "操作人")
    @TableId(value = "opr_id")
    private String oprId;

    @ExcelProperty(value = "操作状态")
    @TableId(value = "opr_status")
    private String oprStatus;

    @ExcelProperty(value = "复刻人代号")
    @TableId(value = "audit_opr_id")
    private String auditOprId;

    @ExcelProperty(value = "审核状态")
    @TableId(value = "audit_status")
    private String auditStatus;

    @ExcelProperty(value = "创建时间")
    @TableId(value = "create_time")
    private String createTime;

    @ExcelProperty(value = "修改时间")
    @TableId(value = "update_time")
    private String updateTime;

    @ExcelProperty(value = "审核时间")
    @TableId(value = "audit_time")
    private String auditTime;

    @ExcelProperty(value = "备用字段1")
    @TableId(value = "remark1")
    private String remark1;

    @ExcelProperty(value = "备用字段2")
    @TableId(value = "remark2")
    private String remark2;

}
